package kr.hkit.android_bookmgr;


import kr.hkit.android_bookmgr.MainActivity;
import kr.hkit.android_bookmgr.R;
import kr.hkit.android_bookmgr.activity.BookListActivity;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;


public class MainActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);

		setContentView(R.layout.activity_main);
		  
		Handler handler = new Handler();
		handler.postDelayed(new loadingPage(), 3000);
	}                         
	
	class loadingPage implements Runnable{
		@Override
		public void run() {
			startActivity(new Intent(getApplication(), BookListActivity.class));
			MainActivity.this.finish();
		}
	}
}
